package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * (是否应用枚举)
 * @author   gyp
 * @Date	 2017年12月27日
 */
public enum YesOrNoEnum implements IEnum {

	NO(0, "否"), YES(1, "是");
	private int key;
	private String value;

	private YesOrNoEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
